/*
 * All rights Reserved, Designed By HerDao
 * Copyright:    Copyright(C) 2020-2099
 * Company:      HerDao Ltd.
 */
package com.boots.easyexcel.normal;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.format.NumberFormat;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * 用户信息数据
 * @author：OprCalf
 * @date：2021-1-11 17:17:31
 */
@Data
@AllArgsConstructor
public class Users implements Serializable {

    private static final long serialVersionUID = 1L;

    // 用户的主键ID不需要导出，直接忽略
    @ExcelIgnore
    private Integer userId;

    @ExcelProperty("用户编号")
    private String userCode;

    @ExcelProperty("用户名称")
    private String userName;

    @ExcelProperty("用户图片")
    private String userImages;

    @ExcelProperty("创建时间")
    @DateTimeFormat("yyyy-MM-dd")
    private Date date;

    @ExcelProperty("用户金额")
    @NumberFormat("##.00")
    private Double meney;

}
